package com.aric.springbootmusic.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration(proxyBeanMethods=false)
@ConfigurationProperties(prefix = "file-upload-info")
public class FileUploadInfo {
    private String urlPrefix;
    private String port;
    private String audioFileHttpUrlAddressSuffix;
    private String audioFileRealAddress;
    private Integer audioFileLimitSize;
    private String[] audioContentTypes;
    private String picFileHttpUrlAddressSuffix;
    private String picFileRealAddress;
    private Integer picFileLimitSize;
    private String[] picContentTypes;
}
